<template>
    <el-tabs v-model="activeName">
        <el-tab-pane label="数据库基本信息" name="DataBaseInfo"><div>
            <v-DbInit :info="info"></v-DbInit></div>
        </el-tab-pane>
        <el-tab-pane label="日志检查" name="rizhijiancha">
            <v-DataLog :info="info"></v-DataLog>
        </el-tab-pane>
        <el-tab-pane label="归档检查" name="guidangjiancha">
            <v-Archived :info="info"></v-Archived>
        </el-tab-pane>
        <!-- <el-tab-pane label="性能检查" name="second">性能检查</el-tab-pane> -->
        <el-tab-pane label="可用性" name="keyongxing">
            <div>
                <v-DbConnect :info="info"></v-DbConnect>
            </div>
        </el-tab-pane>
        <el-tab-pane label="表空间" name="biaokongjian">
            <div>
                <v-DbTableSpace :info="info"></v-DbTableSpace>
            </div>
        </el-tab-pane>
        <el-tab-pane label="备份" name="beifen">
            <div>
                <v-DbBackup :info="info"></v-DbBackup></div
        ></el-tab-pane>
        <!-- <el-tab-pane label="时间差" name="shijiancha">
            <div>
                <v-TimeSync :info="info"></v-TimeSync>
            </div>
        </el-tab-pane> -->
        <el-tab-pane label="ASM" name="asm">
            <div>
                <v-DbAsmGroup :info="info"></v-DbAsmGroup>
            </div>
        </el-tab-pane>
        <el-tab-pane label="OGG" name="ogg">
            <div>
                <v-GoldenGate :info="info"></v-GoldenGate>
            </div>
        </el-tab-pane>
        <el-tab-pane label="ADG" name="adg">
            <div>
                <v-DataGuard :info="info"></v-DataGuard>
            </div>
        </el-tab-pane>
        <el-tab-pane label="性能检查" name="xingnengjiancha">
            <v-DataHit :info="info"></v-DataHit>
        </el-tab-pane>
        <el-tab-pane label="等待事件" name="dengdaishijian">
            <v-DataWaitEvent :info="info"></v-DataWaitEvent>
        </el-tab-pane>
    </el-tabs>
</template>

<script>
import vDbInit from "./components/DataInit.vue";
import vDbConnect from "./components/DbConnect.vue";
import vTimeSync from "./components/TimeSync.vue";
import vDbTableSpace from "./components/DbTableSpace.vue";
import vDbBackup from "./components/DbBackup.vue";
import vDbAsmGroup from "./components/DbAsmGroup.vue";
import vGoldenGate from "./components/GoldenGate.vue";
import vDataGuard from "./components/DataGuard.vue";
import vDataLog from "./components/DataLog.vue";
import vDataHit from "./components/DataHit.vue";
import vDataWaitEvent from "./components/DataWaitEvent.vue";
import vArchived from "./components/Archived.vue"
export default {
    components: {
        vDbInit,
        vDbConnect,
        vDbTableSpace,
        vDbBackup,
        vTimeSync,
        vDbAsmGroup,
        vGoldenGate,
        vDataGuard,
        vDataLog,
        vDataHit,
        vDataWaitEvent,
        vArchived
    },
    props: {
        info: null,
    },
   
    data() {
        return {
            activeName: "DataBaseInfo",
        };
    },
    deactivated(){
        
    }
};
</script>

<style>
</style>